package controller
{
	import org.puremvc.as3.interfaces.INotification;
	import org.puremvc.as3.patterns.command.SimpleCommand;
	
	import view.SimpleMediator;
	
	public class ViewPrepCommand extends SimpleCommand
	{
		/**
		 * 用于初始化主Application的Mediator
		 **/ 
		override public function execute(note:INotification):void
		{
			var app:SimpleSSHF=note.getBody() as SimpleSSHF;
			facade.registerMediator(new SimpleMediator(app));
		}
	}
}